package com.example.springbootbase.config;

import com.example.springbootbase.service.Test1Service;
import com.example.springbootbase.service.Test2Service;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import({Test2Service.class})
public class TestConfig {


    @Bean
    public Test1Service test1Service() {
        return new Test1Service();
    }

}
